<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="js/libs/jquery.min.js" ></script>
        <script type="text/javascript" src="js/libs/jquery.maskMoney.js"></script>
        <link rel="stylesheet" type="text/css" href="css/default.css">
        <link rel="stylesheet" type="text/css" href="css/menu.css">
    </head>

    <body>
        <div id="container">
            <div id="title">
                <div id="img">
                <img src="css/ico_car.png"/>
                </div>
                <div id="h1">
                <h1>Park Control</h1>
                </div>
            </div>
            <div id="menu">
                <ul class="menu">
                    <li><a href="#" title="Cadastros">Cadastros</a>
                        <ul>
                            <li><a href="newCli.php" target="_parent" >Cadastrar Clientes</a></li>
                            <li><a href="newCar.php" target="_parent">Cadastrar Carros</a></li>
                            <li><a href="newFares.php" target="_parent">Cadastrar Tarifas</a></li>
                        </ul>
                    </li>
                    <li><a href="#" title="Gerenciar">Gerenciar</a>
                        <ul>
                            <li><a href="newPark.php" target="_parent">Entrada de Carros</a></li>
                            <li><a href="relExitPark.php" target="_parent">Saida de Carros</a></li>
                        </ul>
                    </li>
                    <li><a href="#" title="Relatorios">Relatorios</a>
                        <ul>
                            <li><a href="relCar.php" target="_parent">Relatório de Carros</a></li>
                            <li><a href="relCli.php" target="_parent">Relatório de Clientes</a></li>
                            <li><a href="relPark.php" target="_parent">Relatório de Entradas</a></li>    
                        </ul>
                    </li>
                </ul>
            </div>
            <div id="span"> 
                <span id="newFareError" class="error"><h2>Cadastrar Nova Taxa</h2></span>
            </div>
            <form method="POST" action="action/InsertFares.action.php" name="newfareForm" id="newFareForm"/>   
            <fieldset>
                <label id="id">
                    Tarifa (R$):
                    <input type="hidden" id="id" name="id" value="<?php //echo $cli->getId();        ?>"/>
                    <input type="text" id="taxInput" name="tarifa" size=4 maxlength=6 value="<?php ?>" onChange="javascript:this.value=this.value.toUpperCase();"/>
                    <script>$("#taxInput").maskMoney();</script>
                </label>

                <label id="cliPhoneLabel">
                    Descrição:
                    <input type="text" id="descriptionInput" name="descricao" value="<?php //echo $cli->getPhone();        ?>" onChange="javascript:this.value=this.value.toUpperCase();"/>
            </fieldset>

            <div id="buttons">
                <input type="button" id="fareOkButton" value = "Cadastrar" />
                <input type="reset" id="fareResetButton" value = "Limpar" />
            </div>

        </form>
    </div>
    <script type="text/javascript" src="js/validation.js"></script>
    <script type="text/javascript" src="js/newFares.js"></script>
</body>
<script type="text/javascript">
    SyntaxHighlighter.all()
</script>
</html>